:root {
  --cream: #fbf8f3;
  --cream-deep: #f4efe6;
  --paper: #fffaf5;
  --surface: rgba(255, 255, 255, 0.68);
  --ink: #1b1814;
  --ink-soft: #5a4c37;
  --ink-faint: #8b7c67;
  --line-soft: rgba(93, 74, 46, 0.1);
  --accent: #d85a2a;
  --accent-deep: #b94921;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--cream) 0%, #f8f1e7 48%, var(--cream) 100%);
  color: var(--ink);
  font-family: "Geist", "Segoe UI", sans-serif;
  letter-spacing: -0.011em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Geist", "Segoe UI", sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.page {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 243, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(93, 74, 46, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.58rem;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(35, 21, 9, 0.14);
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.58rem 0.76rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 6.2rem 0 4.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.eyebrow {
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.95rem;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 0.99;
}

.hero-sub {
  margin-top: 1.15rem;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.82rem 1.22rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 28px rgba(216, 90, 42, 0.18);
}

.button-primary:hover {
  background: var(--accent-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  color: var(--ink);
}

.hero-note {
  margin-top: 0.95rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.meta-line {
  margin-top: 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 650;
}

.phone-frame {
  position: relative;
  width: min(330px, 100%);
  margin: 0 auto;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 7% -16%;
  border-radius: 2.4rem;
  background: radial-gradient(70% 70% at 50% 28%, rgba(255, 223, 186, 0.62), rgba(255, 223, 186, 0));
}

.phone-frame img {
  position: relative;
  border-radius: 1.45rem;
  border: 1px solid rgba(51, 35, 19, 0.13);
  box-shadow: 0 24px 42px rgba(37, 24, 8, 0.16);
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 4.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--cream-deep), #f8f1e8 68%, var(--cream-deep));
  padding: 5.2rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.article-section {
  padding: 4.4rem 0;
}

.article-section + .article-section {
  padding-top: 1.4rem;
}

.article-narrow {
  max-width: 840px;
}

.section-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
}

.section-copy p {
  margin-top: 1rem;
  color: var(--ink-soft);
  line-height: 1.58;
}

.section-copy .lead {
  font-size: 1.08rem;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.45rem;
}

.step-card {
  border-radius: 1.6rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 18px 42px rgba(55, 36, 16, 0.08);
  padding: 1.2rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(216, 90, 42, 0.12);
  color: var(--accent-deep);
  font-weight: 750;
}

.step-card h3 {
  margin-top: 0.8rem;
  font-size: 1.1rem;
}

.step-card p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  line-height: 1.52;
}

.guide-list,
.faq-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.45rem;
}

.guide-item,
.faq-item,
.soft-panel {
  border-radius: 1.6rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 1.25rem;
}

.guide-item h3,
.faq-item h3,
.soft-panel h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.guide-item p,
.faq-item p,
.soft-panel p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.45rem;
}

.mini-note {
  margin-top: 1rem;
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.55;
}

.import-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.55rem;
  align-items: stretch;
}

.import-method-card {
  border-radius: 2rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 245, 0.62));
  box-shadow: 0 20px 48px rgba(55, 36, 16, 0.09);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
}

.import-method-card.is-share {
  background: linear-gradient(155deg, rgba(255, 246, 237, 0.88), rgba(255, 255, 255, 0.64));
}

.method-label {
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.import-method-card h3 {
  margin-top: 0.58rem;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.1;
}

.import-method-card p {
  margin-top: 0.68rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.method-steps {
  display: grid;
  gap: 0.72rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: method-step;
}

.method-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  color: var(--ink-soft);
  line-height: 1.48;
}

.method-steps a,
.guide-item a {
  color: var(--accent-deep);
  font-weight: 750;
}

.method-steps li::before {
  counter-increment: method-step;
  content: counter(method-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 999px;
  background: rgba(216, 90, 42, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 750;
}

.method-helper {
  margin-top: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.52;
  padding: 0.8rem 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.callout {
  border-radius: 1.6rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 18px 42px rgba(55, 36, 16, 0.08);
  padding: 1.25rem;
}

.card h3,
.callout h2 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.card p,
.callout p {
  margin-top: 0.62rem;
  color: var(--ink-soft);
  line-height: 1.52;
}

.callout {
  margin-top: 1.4rem;
  padding: 1.45rem;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.link-list a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.58rem 0.82rem;
}

.link-list a:hover {
  color: var(--accent-deep);
}

.site-footer {
  padding: 2.2rem 0 2.6rem;
  box-shadow: inset 0 1px 0 rgba(93, 74, 46, 0.08);
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr);
  gap: 2rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.footer-brand p {
  max-width: 42ch;
  line-height: 1.55;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-column h3 {
  margin: 0 0 0.68rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

@media (max-width: 860px) {
  .page {
    width: min(var(--max), calc(100% - 2rem));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 3.8rem 0 2.8rem;
  }

  .hero-grid,
  .section-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .quick-steps,
  .import-methods,
  .article-grid,
  .card-grid,
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}
