:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #59636b;
  --teal: #007d87;
  --aqua: #c9f2f0;
  --yellow: #ffd51f;
  --yellow-soft: #fff7b8;
  --green: #5c8c18;
  --paper: #fffef8;
  --line: #c9e7e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  background:
    radial-gradient(circle at 5% 7%, rgba(164, 236, 234, .48) 0 9rem, transparent 9.1rem),
    radial-gradient(circle at 94% 34%, rgba(255, 229, 80, .28) 0 13rem, transparent 13.1rem),
    radial-gradient(circle at 8% 90%, rgba(164, 236, 234, .30) 0 11rem, transparent 11.1rem),
    var(--paper);
}

main { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 40px; }
.hero, .page-header { position: relative; padding-right: 150px; }
.page-header { margin-bottom: 30px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .98; letter-spacing: -.05em; }
.page-header h1 { font-size: clamp(3rem, 7vw, 5rem); }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.45; }

.lemon { position: absolute; top: 0; right: 18px; width: 94px; height: 94px; border-radius: 48% 52% 50% 50%; background: var(--yellow); }
.lemon span { position: absolute; width: 34px; height: 18px; top: -8px; right: -10px; border-radius: 100% 0 100% 0; background: var(--green); transform: rotate(-18deg); }
.lemon.small { width: 64px; height: 64px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 64px 0 28px; }
.feature-grid article, .card, .privacy-note { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: 0 18px 45px rgba(0,74,80,.07); }
.feature-grid article:nth-child(2), .privacy-note { background: rgba(255,247,184,.68); border-color: #f5e996; }
.icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 20px; color: var(--teal); background: var(--aqua); font-size: 2rem; font-weight: 900; }
h2 { margin: 0 0 10px; font-size: 1.45rem; }
p { line-height: 1.55; }
.feature-grid p, .card p, .privacy-note p { margin: 0; color: var(--muted); }
.privacy-note { margin: 28px 0; }
.card { margin: 18px 0; }
.prose h2:not(:first-child) { margin-top: 30px; }
a { color: var(--teal); font-weight: 700; }
.back { display: inline-block; margin-bottom: 44px; text-decoration: none; }
nav { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }
.button { display: inline-block; padding: 14px 22px; color: white; border-radius: 999px; background: var(--teal); text-decoration: none; }
.button.secondary { color: var(--ink); background: var(--yellow); }
footer { padding: 32px 20px 48px; color: var(--muted); text-align: center; }

@media (max-width: 700px) {
  main { padding-top: 44px; }
  .hero, .page-header { padding-right: 0; padding-top: 95px; }
  .lemon { left: 4px; right: auto; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 42px; }
}

.portfolio-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 5vw, 42px);
  padding: 7px 14px;
  border: 1px solid rgba(31, 78, 111, .16);
  border-radius: 999px;
  color: #193957;
  background: #fffdf7;
  text-decoration: none;
}
.portfolio-back:hover { background: #e5f6ff; }
.portfolio-mark { font-size: 1.45rem; font-weight: 800; letter-spacing: -.08em; }
.portfolio-mark span { color: #ef8c7f; }
.download { margin: 28px 0; background: #fff; text-align: center; }
.download img { display: block; margin: 0 auto 14px; object-fit: contain; }
.download .button { margin-top: 26px; }
