/* Fragniti — "Ink & Kesar". Matches the Claude Design canvas "Fragniti — Logo & fragniti.com". */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.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: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.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: Poppins; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.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: Poppins; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.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: Poppins; font-weight: 600; font-display: swap; src: url(fonts/poppins-devanagari-600-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(fonts/poppins-devanagari-700-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --ink: #1D1D20;
  --ink-2: #2A2A2F;
  --paper: #F3F2EE;
  --white: #FFFFFF;
  --body: #4A4A51;
  --muted: #5C5C63;
  --line: #E4E2DC;
  --kesar: #F4A62A;
  --kesar-text: #A14A06;
  --on-ink: #FAFAF7;
  --on-ink-dim: #C9C9CF;
  /* Product colours */
  --fl-ink: #14121C; --fl-lime: #D7FF5C; --fl-text: #F4F2FF; --fl-soft: #CFC7F5; --fl-dim: #B9B3D6;
  --fs-ivory: #FBF7EF; --fs-sand: #F1E6D2; --fs-indigo: #3D348B; --fs-night: #1C1A3A; --fs-body: #45425E;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--kesar); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--kesar-text); margin-bottom: 16px; }
.eyebrow.grey { color: var(--muted); }
.h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.22; font-weight: 700; letter-spacing: -1px; max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #000; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-lime { background: var(--fl-lime); color: var(--fl-ink); }
.btn-paper { background: var(--on-ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.pill-static { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; background: var(--fs-indigo); color: var(--fs-ivory); }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.wordmark { font-size: 26px; font-weight: 700; letter-spacing: .5px; line-height: 1.15; }
.wordmark span { font-weight: 600; }
.tagline-mark { font-size: 8.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--kesar-text); }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 104px) clamp(72px, 10vw, 120px); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 300px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.1; font-weight: 700; letter-spacing: -2px; }
.lead { margin-top: 28px; max-width: 600px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 40px; }
.define { background: var(--white); border-radius: 28px; padding: 36px; }
.define .word { font-size: 56px; line-height: 1.3; font-weight: 700; }
.define .pos { font-size: 15px; color: var(--muted); }
.define .meaning { margin-top: 20px; font-size: 18px; line-height: 1.55; }
.define hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }
.define .note { font-size: 15px; line-height: 1.6; color: var(--body); }
.define .note strong { color: var(--ink); }

/* Principles */
.principles { background: var(--white); padding-block: clamp(72px, 9vw, 96px); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 56px; }
.grid3 .num { font-size: 15px; font-weight: 600; color: var(--kesar-text); }
.grid3 h3 { margin-top: 12px; font-size: 22px; line-height: 1.35; font-weight: 600; }
.grid3 p:last-child { margin-top: 12px; color: var(--body); }

/* Products */
.products { padding-block: clamp(80px, 10vw, 112px) clamp(72px, 9vw, 96px); }
.product { margin-top: 24px; border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.product:first-of-type { margin-top: 56px; }
.product .tag { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.product h3 { margin-top: 16px; font-size: clamp(38px, 5vw, 48px); line-height: 1.15; font-weight: 700; letter-spacing: -1px; }
.product .tagline { margin-top: 8px; font-size: 22px; line-height: 1.4; font-weight: 500; }
.product .desc { margin-top: 20px; max-width: 560px; font-size: 17px; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.product .actions { margin-top: 36px; gap: 16px; }
.product .side { display: flex; justify-content: center; }
.product .mark { width: min(260px, 60vw); height: auto; }

.fraglearn { background: var(--fl-ink); color: var(--fl-text); }
.fraglearn .tag { color: var(--fl-lime); }
.fraglearn .tagline { color: var(--fl-soft); }
.fraglearn .desc, .fraglearn .status { color: var(--fl-dim); }
.fraglearn .chips li { background: rgba(255,255,255,.08); }
.status { font-size: 14px; }

.fragsurf { background: var(--fs-ivory); color: var(--fs-night); }
.fragsurf .tag, .fragsurf .tagline { color: var(--fs-indigo); }
.fragsurf .desc { color: var(--fs-body); }
.fragsurf .chips li { background: var(--fs-sand); }
.fragsurf .mark { width: min(240px, 56vw); }

.next { margin-top: 24px; border: 2px dashed #CFCBC2; border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.next .big { margin-top: 10px; font-size: 22px; line-height: 1.4; font-weight: 600; }
.next a { font-weight: 600; text-decoration: none; }
.next a:hover { color: var(--kesar-text); }

/* Founder */
.founder { background: var(--ink); color: var(--on-ink); }
.founder .split { padding-block: clamp(72px, 9vw, 96px); }
.founder .eyebrow { color: var(--kesar); }
.founder p.bio { margin-top: 20px; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--on-ink-dim); }
.founder .btn { margin-top: 32px; }
.founder .btn svg { width: 18px; height: 18px; }
.monogram { width: 200px; height: 200px; border-radius: 50%; background: var(--ink-2); color: var(--kesar); display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 700; margin-inline: auto; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 48px 56px; }
.made { display: flex; align-items: center; gap: 12px; }
.made { gap: 20px; flex-wrap: wrap; }
.made .wordmark { font-size: 20px; }
.made p { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; }
.made .heart { width: 16px; height: 16px; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .made .heart { animation: none; } .btn { transition: none; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--kesar-text); }
.footer-links .quiet { color: var(--muted); }

/* Phones */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .wordmark { font-size: 22px; }
  .tagline-mark { font-size: 7.2px; letter-spacing: 2.2px; }
  .define { padding: 28px; }
  .next { padding: 28px; }
  .monogram { width: 140px; height: 140px; font-size: 44px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 80px; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; letter-spacing: -1.5px; }
