/* GingerPage marketing site: shared styles for index.html and domain.html */

:root {
  --bg: #fbfaf6;
  --paper-2: #f3f0e8;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --ink-2: #47463f;
  --muted: #75736b;
  --line: #e4e0d6;
  --accent: #1f5a4f;
  --accent-2: #174a41;
  --soft: #dcebe5;
  --sun: #f2c66d;
  --serif: 'Figtree', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}
p {
  margin: 0;
}
figure {
  margin: 0;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  scroll-margin-top: 76px;
}
.block {
  padding-top: 120px;
}
.head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.head h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}
.head p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--ink-2);
}

/* illustrations: one stroke, three fills */
.il {
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.il .w {
  fill: #fff;
}
.il .g {
  fill: var(--soft);
}
.il .a {
  fill: var(--accent);
  stroke: var(--accent);
}
.il .y {
  fill: var(--sun);
}
.il .m {
  stroke: #b9b4a8;
}
.il .x {
  stroke: #fff;
  stroke-width: 2;
}
.il text {
  stroke: none;
  font-family: var(--sans);
}
.il text:not([fill]) {
  fill: var(--ink);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-2);
}
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: #cbc6ba;
}

.shot {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 48px -28px rgb(0 0 0 / 0.3);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(251 250 246 / 0.92);
  backdrop-filter: blur(10px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 19px/1 var(--serif);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav .btn {
  margin-left: auto;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* hero */
.hero {
  padding-top: 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .sub {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 19px;
  color: var(--ink-2);
}
.hero .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero .fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  max-width: 1060px;
  margin: 60px auto 0;
  padding-bottom: 36px;
}
.hero-visual .phone {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 22%;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.45);
}

/* story */
.story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.moment {
  text-align: center;
}
.moment .pic {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 18px 22px;
}
.moment time {
  display: block;
  margin-top: 18px;
  font: 600 14px/1 var(--sans);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.moment p {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
}
.moment.last .pic {
  background: var(--soft);
}
.moment.last time {
  color: var(--accent);
}
.turn {
  margin: 48px auto 0;
  text-align: center;
  font: 600 clamp(22px, 2.6vw, 30px) / 1.25 var(--serif);
  letter-spacing: -0.02em;
}
.turn em {
  font-style: normal;
  color: var(--accent);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.feature .pic {
  background: var(--paper-2);
  padding: 26px 40px 10px;
}
.feature .pic svg {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}
.feature .txt {
  padding: 24px 28px 28px;
}
.feature h3 {
  font-size: 26px;
  line-height: 1.15;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}
.plan.main {
  border: 2px solid var(--accent);
  padding: 29px;
}
.plan h3 {
  font-size: 24px;
}
.plan .for {
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
}
.amount {
  margin-top: 20px;
  font: 600 38px/1 var(--sans);
  letter-spacing: -0.03em;
}
.amount small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.plan ul {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  font-size: 15px;
  color: var(--ink-2);
}
.plan li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.plan .btn {
  width: 100%;
}
.plans-note {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.domain-note {
  max-width: 820px;
  margin: 20px auto 0;
  padding: 14px 20px;
  border: 1px dashed #cfc9bc;
  border-radius: 12px;
  color: var(--ink-2);
}
.domain-note b {
  color: var(--ink);
  font-weight: 600;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  text-align: center;
}
.step .pic {
  max-width: 200px;
  margin: 0 auto 18px;
}
.step b {
  display: block;
  font: 600 20px/1.25 var(--serif);
  letter-spacing: -0.015em;
}
.step p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.faq b {
  display: block;
  font-weight: 600;
}
.faq p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
}

/* final */
.final {
  margin-top: 120px;
  padding: 0 24px;
}
.final .box {
  max-width: 1092px;
  margin: 0 auto;
  background: var(--accent);
  color: #d6e7e1;
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.final h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
}
.final p {
  margin-top: 12px;
  font-size: 18px;
}
.final .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.final .btn-primary {
  background: #fff;
  color: var(--accent-2);
}
.final .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.35);
}
.final .il {
  stroke: #0f2e28;
}
footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 36px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .story {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }
  .plans {
    max-width: 460px;
    margin: 0 auto;
  }
  .final .box {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }
  .final .box .pic {
    max-width: 280px;
  }
}
@media (max-width: 640px) {
  .block {
    padding-top: 88px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero .sub {
    font-size: 17px;
  }
  .hero .btn {
    width: 100%;
  }
  .hero-visual {
    margin-top: 40px;
    padding-bottom: 24px;
  }
  .hero-visual .phone {
    width: 34%;
    right: -6px;
    border-width: 4px;
    border-radius: 12px;
  }
  .features,
  .faq {
    grid-template-columns: 1fr;
  }
  .feature .pic {
    padding: 20px 24px 6px;
  }
  .moment .pic {
    padding: 12px;
  }
  .moment p {
    font-size: 15px;
  }
}

/* ---------- domain guide page ---------- */
.guide-hero {
  padding-top: 56px;
  text-align: center;
}
.guide-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  max-width: 760px;
  margin: 0 auto;
}
.guide-hero .sub {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 18px;
  color: var(--ink-2);
}
.flow {
  max-width: 900px;
  margin: 48px auto 0;
}
.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.option.help {
  border: 2px solid var(--accent);
  padding: 27px;
}
.option h3 {
  font-size: 22px;
}
.option .price {
  margin-top: 6px;
  font-weight: 600;
  color: var(--accent);
}
.option p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}
.option .btn {
  margin-top: 20px;
}
.needs {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  list-style: none;
  padding: 0;
}
.needs li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--ink-2);
}
.needs b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.gsteps {
  display: grid;
  gap: 20px;
}
.gstep {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 40px;
}
.gstep .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}
.gstep h3 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.2;
}
.gstep ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
}
.gstep li {
  margin-bottom: 6px;
}
.gstep code {
  font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.gstep .pic {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 20px;
}
.tip {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fbf3df;
  font-size: 14px;
  color: #5b4a1f;
}
.tip b {
  font-weight: 600;
}
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.disclaimer svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
}
.disclaimer p {
  margin: 0;
}
.disclaimer b {
  color: var(--ink);
  font-weight: 600;
}
.disclaimer a {
  color: var(--accent);
  font-weight: 600;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 860px) {
  .options,
  .needs {
    grid-template-columns: 1fr;
  }
  .gstep {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }
}
.il text.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.plan .incl {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.plan .after-incl {
  margin-top: 8px;
}
.plan ul {
  flex: 1;
}
.plan .permonth {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* available sections: horizontal slider */
.slider-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}
.slider-progress {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.slider-progress span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 3px;
  background: var(--accent);
  transition: margin-left 0.12s linear;
}
.slider-nav {
  display: flex;
  gap: 8px;
}
.slide-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s;
}
.slide-btn:hover {
  border-color: #cbc6ba;
}
.slide-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.sec-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sec-grid::-webkit-scrollbar {
  display: none;
}
.sec-grid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 16px;
}
.sec-grid .sec-tile {
  flex: 0 0 calc((100% - 48px) / 4);
  scroll-snap-align: start;
}
.sec-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 20px;
}
.sec-tile svg {
  display: block;
  background: var(--paper-2);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 14px;
}
.sec-tile b {
  display: block;
  font-weight: 600;
  font-size: 16px;
}
.sec-tile p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
.sec-note {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .sec-grid .sec-tile {
    flex-basis: calc((100% - 32px) / 3);
  }
}
@media (max-width: 640px) {
  .sec-grid .sec-tile {
    flex-basis: 72%;
  }
  .slider-nav {
    display: none;
  }
}
.btn-soon {
  width: 100%;
  background: var(--soft);
  color: var(--accent);
  cursor: default;
}
.brand b {
  color: var(--accent);
  font-weight: inherit;
}

/* who it's for: editorial list, heading pinned on the left */
.who {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.who-head {
  position: sticky;
  top: 100px;
}
.who-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
}
.who-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 380px;
}
.who ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.who li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.who li svg {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 14px;
  background: var(--paper-2);
  stroke-width: 1.5;
}
.who h3 {
  font-size: 19px;
  line-height: 1.25;
}
.who li p {
  margin-top: 3px;
  font-size: 15px;
  color: var(--ink-2);
}

/* faq headings (real headings for search engines) */
.faq h3 {
  font: 600 16px/1.4 var(--sans);
  letter-spacing: -0.01em;
}

/* footer */
footer .foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}
.foot p {
  margin-top: 10px;
  max-width: 320px;
}
.foot nav,
.foot address {
  display: grid;
  align-content: start;
  gap: 8px;
  font-style: normal;
}
.foot nav b,
.foot address b {
  color: var(--ink);
  font-weight: 600;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
}
footer .legal {
  display: block;
  padding-top: 0;
  padding-bottom: 32px;
  font-size: 13px;
  color: var(--muted);
}
footer .legal a,
footer .wrap > span a {
  color: inherit;
  text-underline-offset: 2px;
}
footer .legal a:hover,
footer .wrap > span a:hover {
  color: var(--ink);
}
@media (max-width: 860px) {
  .who {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .who-head {
    position: static;
  }
  footer .foot {
    grid-template-columns: 1fr;
  }
}


.domain-link {
  margin-top: 22px;
  text-align: center;
}
.domain-link a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.domain-link a:hover {
  background: #cfe4dc;
}
footer .foot .brand {
  color: var(--ink);
}

/* .com.np guide */
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--accent);
  text-decoration: none;
}
.get-domain {
  max-width: 820px;
  margin: 18px auto 0;
  text-align: center;
}
.get-domain a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.get-domain a:hover {
  background: #cfe4dc;
}
