/* arinu.care
   Layout: a calm Paper page with a wide gutter; plum bands carry the device; dots from the logo mark each idea.
   Fonts: Petrov Sans for titles (add fonts/PetrovSans-Regular.woff2 if your license covers web use), Helvetica for text. */

@font-face {
  font-family: "Petrov Sans";
  src: local("Petrov Sans"), local("PetrovSans-Regular"),
       url("../fonts/PetrovSans-Regular.woff2") format("woff2"),
       url("../fonts/PetrovSans-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #F4F4F4;
  --white: #FFFFFF;
  --ink: #262626;
  --slate: #5E5E5E;
  --plum: #3B2A60;
  --plum-light: #4A3778;
  --violet: #6B3FD6;
  --wash: #EFEAFC;
  --lilac: #C49BF2;
  --sunshine: #FFB900;
  --tangerine: #FF8C42;
  --aqua: #3FE0CC;
  --teal: #2B8A7F;
  --pine: #2A4E4A;
  --hairline: #DCD8E4;
  /* Roles: titles and accent text change with the theme; plum backgrounds and white text on plum stay put. */
  --heading: var(--plum);
  --accent: var(--violet);
  --surface: var(--white);
  /* The name in running text: Tangerine on dark backgrounds; a deeper orange on light ones, where Tangerine is too faint to read */
  --brand-name: #B34700;

  --title: "Petrov Sans", Helvetica, Arial, sans-serif;
  --text: Helvetica, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1200px;
  --radius: 22px;
}

/* Dark theme: chosen with the toggle in the menu (light is the default) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #15121B;
  --wash: #1F1A29;
  --surface: #2A2337;
  --ink: #EDEAF2;
  --slate: #B7B0C4;
  --hairline: #3A3249;
  --heading: #DCCFFB;
  --accent: #B99AF6;
  --brand-name: var(--tangerine);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

h1, h2, h3, .title {
  font-family: var(--title);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--heading);
}
h1 { font-size: clamp(1.75rem, 1.05rem + 2.5vw, 2.95rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem); }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); color: var(--slate); max-width: 58ch; }
.eyebrow {
  font-family: var(--title);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.byline { color: var(--accent); }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.stack { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.stack-lg { display: grid; gap: 2.5rem; }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; flex-wrap: wrap; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.98rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 0.35rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--lilac); }
.nav a.nav-signup { background: var(--plum); color: var(--white); padding: 0.35rem 0.9rem; border-radius: 999px; border-bottom: 0; }
.nav a.nav-signup:hover { background: var(--violet); color: var(--white); }
@media (max-width: 720px) {
  .site-head { position: static; }
  .nav { width: 100%; gap: 0.25rem 1.1rem; font-size: 0.93rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--title); font-size: 1.05rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--plum); color: var(--white); text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--violet); color: var(--white); }
.btn.ghost { background: transparent; color: var(--heading); box-shadow: inset 0 0 0 1.5px var(--heading); }
.btn.ghost:hover { background: var(--wash); color: var(--heading); }
.on-plum .btn { background: var(--white); color: var(--plum); }
.on-plum .btn:hover { background: var(--lilac); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Dots, from the logo symbol */
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; display: inline-block; background: var(--c, var(--violet)); }
.dots { display: grid; grid-template-columns: repeat(4, 10px); gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.c-sun { --c: var(--sunshine); } .c-tan { --c: var(--tangerine); } .c-lil { --c: var(--lilac); }
.c-aqu { --c: var(--aqua); } .c-tea { --c: var(--teal); } .c-pin { --c: var(--pine); } .c-vio { --c: var(--violet); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.hero-copy { display: grid; gap: 1.4rem; max-width: 46rem; }
.hero-art { margin-inline: auto; width: 100%; max-width: 1100px; }
.hero::after {
  /* thin diagonal hairlines, from the brand motif */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(-58deg, transparent 0 46px, rgba(107, 63, 214, 0.07) 46px 47px);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.hero { isolation: isolate; }
.vertical-mark {
  position: absolute; right: max(8px, env(safe-area-inset-right, 0px)); top: 2rem; z-index: -1;
  writing-mode: vertical-rl; font-family: var(--title); font-size: clamp(5rem, 12vw, 10rem);
  color: var(--heading); opacity: 0.04; line-height: 1; user-select: none;
}
.page-hero .wrap { display: grid; gap: 1.25rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }

/* Two-column feature rows */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split.flip > :first-child { order: 2; }
}
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo.tall img { aspect-ratio: auto; }

/* Stats */
.stats { display: grid; gap: 2rem 3.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.stat { display: grid; gap: 0.4rem; align-content: start; padding-top: 1.1rem; border-top: 1px solid var(--hairline); }
.stat .num { font-family: var(--title); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); color: var(--heading); line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { color: var(--slate); font-size: 0.98rem; }
.source { font-size: 0.8rem; color: var(--slate); }
.source a { color: var(--slate); }

/* Benefit list with dots */
.benefits { display: grid; gap: 2rem 2.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem; align-content: start; }
.benefit .dot { margin-top: 0.45rem; grid-row: span 2; }
.benefit p { color: var(--slate); }
.benefit ul { grid-column: 2; margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--ink); display: grid; gap: 0.3rem; }

/* Plum band */
.on-plum { background: var(--plum-light); color: var(--white); }
.on-plum h1, .on-plum h2, .on-plum h3, .on-plum .title { color: var(--white); }
.on-plum .eyebrow, .on-plum .byline { color: var(--lilac); }
.on-plum .lede, .on-plum p { color: #E7E1F6; }
.on-plum .benefit ul { color: #E7E1F6; }
.on-plum a:not(.btn) { color: var(--lilac); }

/* Wash panel */
.panel { background: var(--surface); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.wash { background: var(--wash); }

/* Compare table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.98rem; }
th, td { text-align: left; padding: 1rem 1.25rem; vertical-align: top; border-bottom: 1px solid var(--hairline); }
th { font-family: var(--title); font-weight: 400; color: var(--heading); font-size: 1.05rem; }
td:first-child { color: var(--slate); }
tr:last-child td { border-bottom: 0; }
td.us { color: var(--ink); }

/* Personas */
.personas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.persona { background: var(--surface); border-radius: 18px; padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: 0.5rem; align-content: start; }
.persona .say { font-family: var(--title); color: var(--accent); font-size: 1.02rem; line-height: 1.35; }
.persona p { color: var(--slate); font-size: 0.95rem; }

/* The wearable: callouts */
.device-stage { display: grid; gap: 2rem; align-items: center; }
img.device { margin-inline: auto; width: auto; max-height: min(560px, 75vh); }
@media (min-width: 960px) { .device-stage { grid-template-columns: 1fr 1.05fr 1fr; } }
.callouts { display: grid; gap: 1.6rem; align-content: center; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.85rem; }
.callout .dot { margin-top: 0.4rem; grid-row: span 2; }
.callout p { color: var(--slate); font-size: 0.97rem; }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: var(--wash); border-radius: 999px; padding: 0.15rem 0.6rem; margin-left: 0.4rem; vertical-align: 0.15em; font-family: var(--text); }

.swatches { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
.swatch { display: flex; align-items: center; gap: 0.7rem; }
.swatch i { width: 34px; height: 34px; border-radius: 10px; display: block; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.swatch b { font-family: var(--title); font-weight: 400; color: var(--heading); }
.on-plum .swatch b { color: var(--white); }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1.25rem 2rem; }
.spec div { display: grid; gap: 0.15rem; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 0.9rem; }
.spec b { font-family: var(--title); font-weight: 400; font-size: 1.6rem; color: var(--white); font-variant-numeric: tabular-nums; }
.spec span { font-size: 0.92rem; color: #D9D1EE; }

/* Steps: how it works is a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.steps li { display: grid; gap: 0.5rem; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--title); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--white); }
.steps p { color: var(--slate); }

/* Contact */
.mail { font-family: var(--title); font-size: clamp(1.8rem, 1.2rem + 3vw, 3.4rem); color: var(--heading); text-decoration: none; word-break: break-word; }
.mail:hover { color: var(--accent); }
.who { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* CTA band and footer */
.cta .wrap { display: grid; gap: 1.5rem; justify-items: start; padding-block: clamp(3rem, 6vw, 5rem); }
.site-foot { background: var(--plum); color: #D9D1EE; font-size: 0.92rem; }
.site-foot .wrap { display: grid; gap: 2rem; padding-block: 3rem 2.5rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.foot-top img { height: 40px; width: auto; }
.foot-top .tagline { font-family: var(--title); color: var(--white); font-size: 1.15rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--lilac); }
.fine { font-size: 0.8rem; color: #B9AED6; max-width: 80ch; }
.on-plum .swatch i { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
@media (max-width: 720px) { .vertical-mark { display: none; } }

/* Home page chapters: menu jumps, scroll-spy, and the pulsing arrow to the next chapter */
.nav a { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
.nav a[aria-current="location"] { color: var(--accent); border-bottom-color: var(--lilac); }
main [id] { scroll-margin-top: 72px; }
@media (max-width: 720px) { main [id] { scroll-margin-top: 0; } }
.next { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center;
  width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; color: var(--tangerine);
  background: radial-gradient(circle closest-side, rgba(59, 42, 96, 0.72) 62%, rgba(59, 42, 96, 0) 100%);
  animation: nudge 1.6s ease-in-out infinite; transition: opacity 0.3s; }
.next svg { width: 76px; height: 76px; margin-top: 8px; }
.next svg path { stroke-width: 3; }
.next:hover { color: var(--tangerine); background: radial-gradient(circle closest-side, rgba(59, 42, 96, 0.88) 62%, rgba(59, 42, 96, 0) 100%); }
.next.gone { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.on-plum .btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); }
.on-plum .btn.ghost:hover { background: var(--white); color: var(--plum); }
.cta .learn { margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.25); gap: 0.9rem; }
.cta.on-plum .wrap { justify-items: stretch; }

/* A typical day: the conversation as chat bubbles */
.day { align-items: start; }
@media (min-width: 900px) { .day-intro { position: sticky; top: 110px; } }
.muted-note { font-size: 0.85rem; color: var(--slate); }
.chat { display: grid; gap: 0.7rem; }
.chat-time { justify-self: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 1rem; }
.chat-time:first-child { margin-top: 0; }
.said-a, .said-r { max-width: 86%; padding: 0.75rem 1.05rem; border-radius: 18px; line-height: 1.5; }
.said-a b, .said-r b { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; margin-bottom: 0.2rem; }
.said-a { justify-self: start; background: var(--plum); color: var(--white); border-bottom-left-radius: 6px; }
.said-a b { color: var(--lilac); }
.said-r { justify-self: end; background: var(--wash); color: var(--ink); border-bottom-right-radius: 6px; }
.said-r b { color: var(--accent); }

/* The name in running text: bold and slightly bigger, so the lowercase "arinu" reads as a name */
.brand { font-weight: 700; font-size: 1.08em; letter-spacing: 0.01em; color: var(--brand-name); }
.on-plum .brand, .said-a .brand, .site-foot .brand { color: var(--tangerine); }

/* Theme toggle, at the far right of the menu */
.theme-toggle { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s; }
.theme-toggle:hover { background: var(--wash); color: var(--accent); }
.theme-toggle .sun, [data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
.nav { align-items: center; }
.logo .on-dark, [data-theme="dark"] .logo .on-light { display: none; }
[data-theme="dark"] .logo .on-dark { display: block; }
[data-theme="dark"] .btn:hover { background: var(--plum-light); }
[data-theme="dark"] .on-plum .btn:hover { background: var(--lilac); }
[data-theme="dark"] .vertical-mark { opacity: 0.06; }
.cta .note { font-size: 0.95rem; opacity: 0.9; max-width: 46rem; }

/* Plans page */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 0.9rem; padding: 1.75rem; border-radius: 22px; background: var(--wash); }
.plan.featured { box-shadow: inset 0 0 0 2px var(--lilac); }
.plan h2 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.8rem); }
.plan .price { color: var(--slate); }
.plan .price b { font-family: var(--title); font-weight: 400; font-size: 2.2rem; color: var(--heading); }
.plan ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; align-content: start; }
.plan .btn { justify-self: start; }
.table-wrap { overflow-x: auto; }
table.options { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.options th, table.options td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--lilac); vertical-align: top; }
table.options th { font-family: var(--title); font-weight: 400; color: var(--heading); }
table.options td:nth-child(n+3), table.options th:nth-child(n+3) { text-align: center; white-space: nowrap; }
ol.steps { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.7rem; max-width: 60ch; }
