/* Cureto coming-soon site. D · Frost, adapted from the public-site hand-off (6 Nov 2026).
   Self-hosted font, no third-party requests. */

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --font-ui: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --stage: #ebe9e5;
  --stageRGB: 235, 233, 229;
  --ink: #16151a;
  --ink2: #55535c;
  --inkF: #34323a;
  --f1: #bfb1fc;
  --f2: #fdb7e9;
  --f3: #77c1f0;
  --f4: #dee3b5;
  --fieldOp: 0.95;

  --glass: rgba(255, 255, 255, 0.6);
  --glass2: rgba(255, 255, 255, 0.4);
  --glassLine: rgba(255, 255, 255, 0.8);
  --glassSh: 0 30px 60px -38px rgba(40, 30, 60, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --line: rgba(20, 20, 30, 0.1);

  --acc: #6a3bc8;
  --accInk: #6a3bc8;
  --accRGB: 106, 59, 200;
  --btn: linear-gradient(168deg, #8367d5 0%, #6a3bc8 46%, #5821b0 100%);
  --btnInk: #ffffff;
  --metalSh: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 12px 24px -16px rgba(106, 59, 200, 0.8);
  --btnWhite: #ffffff;
  --btnWhiteInk: #17151c;

  --field: rgba(255, 255, 255, 0.82);
  --fieldLine: rgba(22, 21, 26, 0.42);
  --errInk: #b23921;
  --errRing: 0 0 0 4px rgba(178, 57, 33, 0.14);
  --glow: 0 0 0 4px rgba(106, 59, 200, 0.18);
  --optOn: rgba(106, 59, 200, 0.12);
}

[data-theme="dark"] {
  color-scheme: dark;
  --stage: #0b0a0f;
  --stageRGB: 11, 10, 15;
  --ink: #f4f2fb;
  --ink2: #a3a3ae;
  --inkF: #f4f2fb;
  --f1: #754fb8;
  --f2: #7c2462;
  --f3: #034165;
  --f4: #2c3204;
  --fieldOp: 0.8;

  --glass: rgba(26, 24, 34, 0.5);
  --glass2: rgba(255, 255, 255, 0.06);
  --glassLine: rgba(255, 255, 255, 0.13);
  --glassSh: 0 30px 60px -38px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);

  --acc: #a381ea;
  --accInk: #b090f6;
  --accRGB: 163, 129, 234;
  --btn: linear-gradient(168deg, #bda1f2 0%, #a381ea 46%, #8a66d8 100%);
  --btnInk: #17132b;
  --metalSh: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 12px 24px -16px rgba(163, 129, 234, 0.8);
  --btnWhite: #f4f2f8;
  --btnWhiteInk: #0b0a0f;

  --field: #1f1f27;
  --fieldLine: rgba(255, 255, 255, 0.34);
  --errInk: #ff8f7a;
  --errRing: 0 0 0 4px rgba(255, 143, 122, 0.14);
  --glow: 0 0 0 4px rgba(163, 129, 234, 0.25);
  --optOn: rgba(163, 129, 234, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accInk); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }

/* the colour field: fixed behind everything, never moving */
.field { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.field i {
  position: absolute;
  border-radius: 50%;
  opacity: var(--fieldOp);
  filter: blur(30px);
}
.field i:nth-child(1) { left: -8%; top: -14%; width: 760px; height: 760px; background: radial-gradient(circle, var(--f1) 0%, transparent 68%); }
.field i:nth-child(2) { left: 58%; top: -20%; width: 680px; height: 680px; background: radial-gradient(circle, var(--f2) 0%, transparent 68%); }
.field i:nth-child(3) { left: 70%; top: 44%; width: 720px; height: 720px; background: radial-gradient(circle, var(--f3) 0%, transparent 68%); }
.field i:nth-child(4) { left: -10%; top: 52%; width: 640px; height: 640px; background: radial-gradient(circle, var(--f4) 0%, transparent 68%); }
.field i:nth-child(5) { left: 30%; top: 30%; width: 520px; height: 520px; background: radial-gradient(circle, var(--f1) 0%, transparent 68%); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: #fff; color: #17151c; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 30; height: 80px;
  background: rgba(var(--stageRGB), 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
.site-header.scrolled {
  background: rgba(var(--stageRGB), 0.84);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.logo img { display: block; height: 30px; width: auto; }
.logo img.logo-d { display: none; }
[data-theme="dark"] .logo img.logo-l { display: none; }
[data-theme="dark"] .logo img.logo-d { display: block; }
.spacer { flex: 1; }

.nav-pill {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--glass2); border: 1px solid var(--glassLine); border-radius: 999px;
}
.nav-pill a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 104px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.nav-pill a:hover { background: var(--optOn); }
.nav-pill a[aria-current="page"] { background: var(--btnWhite); color: var(--btnWhiteInk); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font-ui); text-decoration: none;
  background: var(--btn); color: var(--btnInk); box-shadow: var(--metalSh);
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: 0.75; cursor: progress; transform: none; }
.btn-glass { background: var(--glass2); color: var(--ink); border: 1px solid var(--glassLine); box-shadow: none; }

/* type */
h1, h2, h3 { margin: 0; font-weight: 450; letter-spacing: -0.045em; }
h1 { font-size: 70px; line-height: 1; }
.page-title h1 { font-size: 60px; }
h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--inkF); max-width: 38em; margin: 0; }
.kicker { font: 700 11px/1.2 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--inkF); margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px 0 12px;
  background: var(--glass2); border: 1px solid var(--glassLine); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--inkF);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(var(--accRGB), 0.22); }

main { flex: 1; position: relative; z-index: 1; padding-bottom: 8px; }
.glass {
  background: var(--glass); border: 1px solid var(--glassLine); border-radius: 40px;
  box-shadow: var(--glassSh);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

/* home */
.hero { padding: 40px 0 0; display: grid; gap: 28px; justify-items: start; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 14px; color: var(--inkF); margin: 0; }
.section { margin-top: 96px; }
.about { padding: 36px; display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; }
.about p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.6; max-width: 36em; }
.about h2 + p { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  background: var(--glass2); border: 1px solid var(--glassLine); border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
}
.audience { display: grid; gap: 14px; }
.audience .row { display: grid; gap: 4px; padding: 16px 20px; background: var(--glass2); border: 1px solid var(--glassLine); border-radius: 24px; }
.audience .row b { font-weight: 650; font-size: 16px; }
.audience .row span { color: var(--ink2); font-size: 15px; }

/* page title block */
.page-title { padding: 40px 0 0; display: grid; gap: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; margin-top: 36px; align-items: start; }
.card { padding: 30px; }
.card h2 { margin-bottom: 6px; }
.card .sub { color: var(--ink2); margin: 0 0 22px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font: 700 11px/1.2 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.fld label small { font: 500 12px/1 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--ink2); margin-left: 6px; }
.fld input, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px;
  background: var(--field); border: 1px solid var(--fieldLine); color: var(--ink);
  font: 400 16px/1.4 var(--font-ui);
}
.fld textarea { min-height: 150px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--acc); box-shadow: var(--glow); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--errInk); box-shadow: var(--errRing); }
.err { margin: 8px 2px 0; color: var(--errInk); font-size: 14px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.consent { margin: 0; flex: 1 1 300px; font-size: 13.5px; color: var(--ink2); max-width: 34em; }
.form-error { margin: 0 0 18px; padding: 12px 16px; border-radius: 16px; color: var(--ink); background: rgba(178, 57, 33, 0.12); border: 1px solid rgba(178, 57, 33, 0.45); }
.details { margin: 0; display: grid; gap: 18px; }
.details dt { font: 700 11px/1.2 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 16px; line-height: 1.55; }
.details dd a { display: inline-block; min-height: 44px; line-height: 44px; font-weight: 600; margin-right: 4px; }
.details .line a { display: inline; line-height: inherit; min-height: 0; }
.details .gstin { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.sep { display: inline-block; margin: 0 6px; color: var(--ink2); }

/* long reading (privacy) */
.article { margin-top: 36px; padding: 44px 48px 36px; max-width: 880px; }
.article section { padding: 22px 0; border-top: 1px solid var(--line); }
.article section:first-of-type { border-top: 0; padding-top: 0; }
.article h2 { font-size: 22px; font-weight: 550; letter-spacing: -0.02em; margin-bottom: 10px; }
.article p, .article li { font-size: 16px; line-height: 1.7; max-width: 68ch; }
.article p { margin: 0 0 10px; }
.article ul { margin: 0 0 10px; padding-left: 22px; }
.article address { font-style: normal; line-height: 1.7; }
.updated { color: var(--inkF); margin: 0; font-size: 15px; }

/* thank-you / 404 */
.center-card { margin-top: 60px; padding: 44px; max-width: 640px; display: grid; gap: 18px; justify-items: start; }
.center-card p { margin: 0; color: var(--ink2); font-size: 17px; }
.tick { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--acc); display: grid; place-items: center; color: var(--accInk); box-shadow: 0 0 0 6px rgba(var(--accRGB), 0.16); }

/* footer */
.site-footer { position: relative; z-index: 1; margin-top: 120px; padding-bottom: 40px; }
.site-footer .wrap > .inner { border-top: 1px solid var(--line); padding-top: 32px; display: grid; gap: 22px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.foot-top .logo img { height: 44px; }
.foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); font-weight: 600; border-radius: 12px; }
.theme { display: inline-flex; align-items: center; gap: 12px; }
.theme > span { font-size: 14px; color: var(--inkF); }
.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--glass2); border: 1px solid var(--glassLine); border-radius: 999px; }
.seg button {
  min-height: 44px; min-width: 72px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); font: 600 14px/1 var(--font-ui);
  transition: background-color 0.3s;
}
.seg button[aria-checked="true"] { background: var(--btnWhite); color: var(--btnWhiteInk); }
.foot-legal { display: grid; gap: 6px; color: var(--inkF); font-size: 14px; }
.foot-legal p { margin: 0; }
.foot-legal .small { font-size: 12.5px; }

/* arrival */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) backwards; }
.rise:nth-child(2) { animation-delay: 55ms; }
.rise:nth-child(3) { animation-delay: 110ms; }
.rise:nth-child(4) { animation-delay: 165ms; }
.rise:nth-child(5) { animation-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
}

/* tablet */
@media (max-width: 1023px) {
  .wrap { padding: 0 32px; }
  h1 { font-size: 60px; line-height: 1.02; }
  .page-title h1 { font-size: 52px; }
  .lead { font-size: 18px; }
  .section { margin-top: 96px; }
  .about { grid-template-columns: 1fr; padding: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { margin-top: 96px; }
  .article { padding: 34px 34px 28px; }
}

/* phone */
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .site-header { height: 64px; }
  .site-header .wrap { gap: 10px; }
  .logo img { height: 24px; }
  .nav-pill a { min-width: 0; padding: 0 14px; font-size: 14px; }
  h1 { font-size: 42px; line-height: 1.04; }
  .page-title h1 { font-size: 40px; }
  h2 { font-size: 25px; }
  .lead { font-size: 17px; }
  .glass { border-radius: 30px; }
  .section { margin-top: 72px; }
  .about { padding: 20px; gap: 24px; }
  .card { padding: 22px 20px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .article { padding: 22px 20px 16px; }
  .article p, .article li { font-size: 15.5px; }
  .center-card { padding: 26px 22px; margin-top: 36px; }
  .site-footer { margin-top: 72px; padding-bottom: 32px; }
  .foot-top .logo img { height: 40px; }
  .field i:nth-child(n) { width: 520px; height: 520px; }
  .hero .actions .btn { width: 100%; }
}
@media (max-width: 400px) {
  .nav-pill a { padding: 0 11px; }
}

/* ---------- motion layer (fx.js). Everything below is calm, and all of it is off under reduced motion. ---------- */
.card h2 + .details { margin-top: 20px; }
.fluid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl-on .field i { display: none; }

/* hover: buttons and chips lift with a glow */
@media (hover: hover) {
  .btn:hover { box-shadow: var(--metalSh), 0 0 0 1px rgba(var(--accRGB), 0.35), 0 20px 40px -14px rgba(var(--accRGB), 0.75); }
  .btn-glass:hover { box-shadow: 0 16px 32px -16px rgba(var(--accRGB), 0.6); }
  .tags li { transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.3s; }
  .tags li:hover { transform: translateY(-3px); border-color: rgba(var(--accRGB), 0.55); box-shadow: 0 14px 28px -14px rgba(var(--accRGB), 0.65); }
  .foot-links a, .nav-pill a { transition: background-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .foot-links a:hover { background: var(--optOn); transform: translateY(-2px); }
}

/* the 3D hero mark: desktop and tablet-landscape only */
.hero { position: relative; }
.mark3d { display: none; }
@media (min-width: 1024px) {
  .hero h1 { max-width: 9.6em; }
  .mark3d { display: block; position: absolute; right: 24px; top: 40px; width: min(400px, 30vw); perspective: 1100px; pointer-events: none; z-index: 0; transform: translateY(calc(var(--py, 0) * 1px)); }
  .m-tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1); }
  .m-float { position: relative; transform-style: preserve-3d; animation: float3d 16s ease-in-out infinite alternate; }
  .m-layer { display: block; width: 100%; height: auto; }
  .m-layer + .m-layer { position: absolute; inset: 0; }
  .m-layer { transform: translateZ(calc(var(--z) * -1px)); }
  .m-layer:nth-child(1) { filter: drop-shadow(0 30px 40px rgba(var(--accRGB), 0.35)); }
  .m-layer:nth-child(2) { opacity: 0.55; }
  .m-layer:nth-child(3) { opacity: 0.35; }
  .m-layer:nth-child(4) { opacity: 0.2; }
}
@keyframes float3d {
  from { transform: rotateY(-24deg) rotateX(6deg) translateY(6px); }
  to { transform: rotateY(24deg) rotateX(-4deg) translateY(-14px); }
}

/* pointer tilt with a soft light sheen (fx.js sets the variables; mouse only) */
.tilt { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1); will-change: transform; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.55), transparent 55%);
  opacity: var(--sheen, 0); transition: opacity 0.35s;
}
[data-theme="dark"] .tilt::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 55%); }

@media (prefers-reduced-motion: no-preference) {
  /* headline words rise in, in 3D */
  .hero h1 { perspective: 900px; }
  .split .w { display: inline-block; transform-origin: 50% 100%; animation: wordIn 1.05s cubic-bezier(0.2, 0.75, 0.25, 1) backwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
  @keyframes wordIn { from { opacity: 0; transform: translateY(0.5em) rotateX(-60deg); filter: blur(6px); } }
  /* sections and cards fade and slide in as they enter */
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.75, 0.25, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .reveal.in .tags li { animation: rise 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) backwards; animation-delay: calc(var(--i) * 70ms + 250ms); }
}
@media (prefers-reduced-motion: reduce) {
  .m-float { animation: none; transform: rotateY(-12deg) rotateX(3deg); }
  .tilt { transform: none; }
  .tilt::after { display: none; }
}
