/* gomle landing page
 * Brand tokens er speilet fra ../tokens.css for portabilitet.
 * Endres profilen, oppdater begge filer.
 */

:root {
  --gomle-karamell:      #A06A3D;
  --gomle-karamell-mork: #7C4F2C;
  --gomle-krem:          #F5E8D3;
  --gomle-krem-lys:      #FBF3E4;
  --gomle-bringebaer:    #B83A4B;
  --gomle-honning:       #D9A441;
  --gomle-mose:          #7A8B5C;
  --gomle-lakris:        #1F1A17;
  --gomle-border:        rgba(31, 26, 23, 0.12);
  --gomle-text-muted:    rgba(31, 26, 23, 0.65);

  --gomle-font-display:  'Fraunces', Georgia, 'Times New Roman', serif;
  --gomle-font-body:     'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --gomle-font-script:   'Caveat', cursive;

  --gomle-radius-md: 16px;
  --gomle-radius-lg: 24px;
  --gomle-shadow:    0 8px 24px rgba(31, 26, 23, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--gomle-krem-lys);
  color: var(--gomle-lakris);
  font-family: var(--gomle-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gomle-karamell);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--gomle-karamell-mork); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gomle-krem);
  padding: clamp(64px, 12vw, 140px) 24px clamp(48px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; z-index: 0;
}
.hero::before { background: var(--gomle-honning);    width: 260px; height: 260px; top: -80px;    left: -80px; }
.hero::after  { background: var(--gomle-bringebaer); width: 220px; height: 220px; bottom: -80px; right: -60px; }
.hero-inner { position: relative; z-index: 1; }

.wordmark {
  font-family: var(--gomle-font-display);
  font-weight: 600;
  font-size: clamp(96px, 18vw, 220px);
  letter-spacing: -0.06em;
  color: var(--gomle-karamell);
  line-height: 0.9;
  display: inline-block;
}
.wordmark .dot { color: var(--gomle-bringebaer); }

.smile {
  display: block;
  margin: 16px auto 0;
  width: clamp(180px, 32vw, 360px);
  height: 24px;
}

.tagline {
  font-family: var(--gomle-font-script);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--gomle-karamell-mork);
  margin: 24px auto 0;
  max-width: none;
}

.kicker {
  font-family: var(--gomle-font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--gomle-text-muted);
  margin: 24px auto 0;
  line-height: 1.5;
  max-width: 40ch;
}

.hero p { margin-left: auto; margin-right: auto; }

/* ---------- Main sections ---------- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(56px, 10vw, 96px) 0;
  border-bottom: 1px solid var(--gomle-border);
}
section:last-child { border-bottom: none; }

h1, h2, h3 {
  font-family: var(--gomle-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }

p { margin: 0 0 16px; max-width: 56ch; }
p:last-child { margin-bottom: 0; }

.small {
  font-size: 14px;
  color: var(--gomle-text-muted);
}

/* ---------- Signup ---------- */
.signup {
  text-align: center;
}
.signup h2 { margin-bottom: 8px; }
.signup p { margin-left: auto; margin-right: auto; }

.signup-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 24px auto 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--gomle-border);
  border-radius: var(--gomle-radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--gomle-lakris);
}
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gomle-karamell);
  box-shadow: 0 0 0 3px rgba(160, 106, 61, 0.15);
}
.signup-form button {
  padding: 14px 22px;
  border: none;
  border-radius: var(--gomle-radius-md);
  background: var(--gomle-karamell);
  color: var(--gomle-krem);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.signup-form button:hover { background: var(--gomle-karamell-mork); }

/* ---------- Values ---------- */
.values ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.values li h3 { color: var(--gomle-karamell-mork); margin-bottom: 8px; }
.values li p { color: var(--gomle-text-muted); font-size: 15px; line-height: 1.55; }

/* ---------- Footer ---------- */
footer {
  background: var(--gomle-lakris);
  color: var(--gomle-krem);
  padding: 48px 24px;
  text-align: center;
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-mark {
  font-family: var(--gomle-font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--gomle-honning);
  display: inline-block;
  margin-bottom: 12px;
}
.footer-mark .dot { color: var(--gomle-bringebaer); }
footer p { margin: 4px auto; }
footer a { color: var(--gomle-honning); }
footer a:hover { color: #fff; }
footer .small { color: rgba(245, 232, 211, 0.6); margin-top: 16px; }
