/* Onyra — light, editorial, monochrome */

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #121211;
  --ink-2: #4F4D48;
  --ink-3: #8A877F;
  --line: #E3DFD6;
  --line-2: #CDC8BD;
  --inv-bg: #121211;
  --inv-ink: #F7F5F0;
  --inv-ink-2: #B4B0A7;
  --error: #9B2C1F;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
  --radius: 16px;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: #2B2A27; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--surface); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
}

.logo-mark {
  width: 13px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(75% 70% at 35% 28%, #6A6862 0%, #1E1E1C 48%, #0A0A09 100%);
  transform: translateY(1px);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav a { text-decoration: none; transition: color .15s ease; }
.nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.lang a { text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* Hero */

.hero {
  padding-top: clamp(56px, 9vw, 112px);
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-more { white-space: pre; }

@media (max-width: 560px) {
  .eyebrow-more { display: none; }
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}

h1 {
  margin: 24px auto 0;
  max-width: 12ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.25rem, 9vw, 7.25rem);
  line-height: .95;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--ink-2);
}

.lede {
  max-width: 580px;
  margin: 28px auto 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* Hero visual: a row of iPhones publishing on schedule */

.fleet {
  position: relative;
  height: clamp(250px, 32vw, 380px);
  margin-top: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.fleet::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(247, 245, 240, 0), var(--bg));
  pointer-events: none;
}

.fleet-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.phone {
  --r: clamp(22px, 2.6vw, 32px);
  --p: clamp(4px, .45vw, 6px);
  flex: none;
  width: clamp(120px, 15vw, 176px);
  aspect-ratio: 9 / 19.5;
  padding: var(--p);
  border-radius: var(--r);
  background: #161615;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 40px 60px -40px rgba(18, 18, 17, .5);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.phone:nth-child(1), .phone:nth-child(5) { margin-top: 64px; }
.phone:nth-child(2), .phone:nth-child(4) { margin-top: 28px; }
.phone:nth-child(1) { --i: 2; }
.phone:nth-child(2) { --i: 1; }
.phone:nth-child(4) { --i: 1; }
.phone:nth-child(5) { --i: 2; }

.screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--r) - var(--p));
  overflow: hidden;
}

.screen::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 34%;
  bottom: -8%;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  background: rgba(255, 255, 255, .16);
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 42%);
}

.t1 { background: radial-gradient(120% 80% at 30% 18%, #EEE3D1 0%, #CDB99D 45%, #8A7860 100%); }
.t2 { background: radial-gradient(120% 90% at 70% 26%, #E1E4D7 0%, #A9B39B 50%, #5D6954 100%); }
.t3 { background: radial-gradient(110% 80% at 50% 22%, #EFDCCD 0%, #C79C83 45%, #6C4A39 100%); }
.t4 { background: radial-gradient(120% 90% at 40% 28%, #E6E8E9 0%, #AAB2B7 50%, #59636A 100%); }
.t5 { background: radial-gradient(120% 90% at 60% 18%, #F2DFD8 0%, #D0A69C 50%, #784F47 100%); }

.island {
  position: absolute;
  top: clamp(6px, .7vw, 9px);
  left: 50%;
  z-index: 2;
  width: 32%;
  height: clamp(10px, 1.15vw, 15px);
  border-radius: 999px;
  background: #161615;
  transform: translateX(-50%);
}

.side {
  position: absolute;
  right: 9px;
  bottom: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.side i {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
}

/* A notification card under the Dynamic Island */
.ui {
  position: absolute;
  top: clamp(24px, 2.8vw, 34px);
  left: 7px;
  right: 7px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -10px rgba(18, 18, 17, .35);
  color: var(--ink);
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
}

.tag {
  font-weight: 600;
  letter-spacing: .01em;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.status {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.status.pending { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-2); }
.status.live { animation: pulse 1.6s ease-in-out infinite; }

@media (max-width: 600px) {
  .phone { width: 29vw; }
  .phone:nth-child(1), .phone:nth-child(5) { display: none; }
  .ui { left: 5px; right: 5px; padding: 6px 7px; font-size: 8.5px; border-radius: 10px; }
  .side { right: 7px; bottom: 54px; gap: 7px; }
  .side i { width: 12px; height: 12px; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .eyebrow .dot, .status.live { animation: none; }
}

/* Sections */

.section {
  padding-block: clamp(80px, 11vw, 144px);
}
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; }

h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section-lede {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 1.0625rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

h3 { margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: 56px;
}

.feature {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.feature h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}
.feature p {
  margin: 10px 0 0;
  font-size: .9375rem;
  color: var(--ink-2);
}

.audience article { padding-top: 20px; border-top: 1px solid var(--line-2); }
.audience h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.audience p {
  margin: 12px 0 0;
  font-size: .9375rem;
  color: var(--ink-2);
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; margin-top: 40px; }
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink-3);
}

.step h3 {
  margin-top: 28px;
  font-size: 1.0625rem;
  font-weight: 500;
}

.step p {
  margin: 8px 0 0;
  font-size: .9375rem;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .step h3 { margin-top: 16px; }
}

/* Services */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan.featured {
  border-color: var(--inv-bg);
  background: var(--inv-bg);
  color: var(--inv-ink);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -.01em;
}

.badge {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .8;
}

.plan-desc {
  margin: 14px 0 0;
  color: var(--ink-2);
}
.featured .plan-desc { color: var(--inv-ink-2); }

.plan ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.plan li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  margin-top: .8em;
  background: currentColor;
  opacity: .5;
}

.plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.featured .plan-foot { border-top-color: #2E2D2A; }

.plan-price {
  font-size: .875rem;
  color: var(--ink-2);
}
.featured .plan-price { color: var(--inv-ink-2); }

.featured .btn {
  border-color: var(--inv-ink);
  background: var(--inv-ink);
  color: var(--inv-bg);
}
.featured .btn:hover { background: #E4E1DA; }
.featured :focus-visible { outline-color: var(--inv-ink); }

@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; margin-top: 40px; }
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }

.plus {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform .2s ease;
}
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }

.faq-list details p {
  max-width: 56ch;
  margin: 0 0 24px;
  color: var(--ink-2);
}

@media (max-width: 820px) {
  .faq { grid-template-columns: 1fr; }
}

/* Waitlist */

.waitlist { background: var(--surface); }

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field.full { grid-column: 1 / -1; }

.field label,
.field legend {
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.optional { font-weight: 400; color: var(--ink-3); }

.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder { color: var(--ink-3); }

.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121211' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18, 18, 17, .08);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.check { position: relative; }

.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.check span:hover { border-color: var(--ink-3); }
.check input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.check input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.fine {
  max-width: 42ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
.fine a { color: var(--ink-2); }

.form-error {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--error);
}

.success {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.success:focus { outline: none; }

.success-mark {
  display: block;
  width: 22px;
  height: 29px;
  border-radius: 50%;
  background: radial-gradient(75% 70% at 35% 28%, #6A6862 0%, #1E1E1C 48%, #0A0A09 100%);
}

.success h3 {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.05;
}

.success p {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 820px) {
  .waitlist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* Footer */

.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-inner p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-word {
  margin: 56px 0 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: .8;
  letter-spacing: -.04em;
  color: var(--ink);
}

.copyright {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* Privacy pages */

.prose {
  max-width: 680px;
  padding-block: clamp(56px, 8vw, 104px);
}

.prose h1 {
  max-width: none;
  margin: 16px 0 0;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
}

.prose .updated {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.prose h2 {
  margin-top: 48px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
