/* Shore AI — clean, beige, white. */
:root {
  --white: #FFFFFF;
  --ivory: #FAF7F2;      /* page */
  --beige: #F1EAE1;      /* bands */
  --oat: #E7DED2;        /* wave, borders */
  --linen: #F6F1EA;
  --taupe: #B8A99A;      /* muted lines */
  --mocha: #7A6D62;      /* secondary text */
  --ink: #2B2420;        /* text */
  --display: "Cormorant Garamond", "Cormorant", "Iowan Old Style", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --measure: 60ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: var(--taupe); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
strong { font-weight: 500; }
.wrap { width: min(1040px, 100% - 2.5rem); margin-inline: auto; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.nav-links { display: flex; gap: 1.6rem; font-size: 0.9rem; letter-spacing: 0.04em; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--mocha); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 480px) { .nav-links { gap: 1rem; font-size: 0.85rem; } }

/* Hero: the logo is the hero */
.hero { text-align: center; padding: 6.5rem 0 3rem; }
.hero .logo { font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 10vw, 7.5rem); letter-spacing: 0.18em; line-height: 1; margin-left: 0.18em; }
.hero .tag { margin-top: 1.4rem; font-size: 0.98rem; letter-spacing: 0.16em; color: var(--mocha); }
.hero .cta { margin-top: 2.4rem; }

/* The wave: one quiet moving line of oat on ivory */
.horizon { position: relative; height: 130px; overflow: hidden; }
.horizon svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.wave-back { animation: drift 28s linear infinite; }
.wave-front { animation: drift 18s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wave-back, .wave-front { animation: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: var(--ivory); padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 400; font-size: 0.9rem; letter-spacing: 0.08em; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--mocha); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--taupe); }
.btn-quiet:hover { background: var(--white); }

/* Apps shelf */
.apps { padding: 4rem 0 3.5rem; background: var(--beige); }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: 0.02em; }
.shelf { list-style: none; margin: 0; padding: 0; }
.shelf li { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.3rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--oat); }
.shelf li:last-child { border-bottom: 1px solid var(--oat); }
.mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--oat); }
.mark svg { width: 34px; height: 34px; }
.app-name { font-family: var(--display); font-size: 1.55rem; font-weight: 500; letter-spacing: 0.03em; line-height: 1.1; }
.app-line { color: var(--mocha); margin-top: 0.1rem; }
.app-links { display: flex; gap: 1.2rem; align-items: center; font-size: 0.88rem; letter-spacing: 0.04em; white-space: nowrap; }
.app-links .soon { color: var(--taupe); }
@media (max-width: 640px) {
  .shelf li { grid-template-columns: 52px 1fr; }
  .mark { width: 52px; height: 52px; border-radius: 14px; }
  .mark svg { width: 28px; height: 28px; }
  .app-links { grid-column: 2; }
}

/* Principles */
.principles { padding: 4.5rem 0; }
.principles h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: 0.02em; }
.plist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2.2rem 3rem; margin-top: 2.2rem; }
.plist h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.plist p { color: var(--mocha); max-width: 38ch; }

/* Support */
.support { padding: 4.5rem 0 5rem; background: var(--white); border-top: 1px solid var(--oat); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 3rem; align-items: start; }
.support h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: 0.02em; }
.support p { color: var(--mocha); margin-top: 1rem; max-width: 40ch; }
.support p a { color: var(--ink); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--mocha); }
.field input, .field select, .field textarea { font: inherit; font-weight: 300; padding: 0.8rem 1rem; border: 1px solid var(--oat); border-radius: 14px; background: var(--ivory); color: var(--ink); width: 100%; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--taupe); background: var(--white); }

/* Footer */
.foot { background: var(--beige); color: var(--mocha); padding: 3rem 0 2.5rem; border-top: 1px solid var(--oat); }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot .wordmark { color: var(--ink); }
.foot strong { color: var(--ink); font-weight: 500; letter-spacing: 0.04em; font-size: 0.9rem; }
.foot a { color: var(--mocha); }
.foot a:hover { color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.foot small { display: block; margin-top: 1.4rem; color: var(--taupe); font-size: 0.85rem; letter-spacing: 0.02em; }

/* Policy pages */
.policy { padding: 3rem 0 5rem; }
.policy header { margin-bottom: 2.5rem; }
.policy header h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 300; max-width: 18ch; }
.policy header p { color: var(--mocha); margin-top: 0.8rem; }
.policy article { max-width: var(--measure); }
.policy h2 { font-size: 1.5rem; font-weight: 500; margin: 2.4rem 0 0.6rem; }
.policy p, .policy li { color: #4A403A; }
.policy ul { padding-left: 1.2rem; }
.policy li { margin-bottom: 0.4rem; }
.notice { background: var(--beige); border-radius: 14px; padding: 1rem 1.2rem; color: var(--ink); font-size: 0.95rem; margin-top: 1.5rem; }
.crumb { font-size: 0.9rem; letter-spacing: 0.04em; color: var(--mocha); margin-bottom: 1.5rem; }
