:root {
  color-scheme: light dark;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --ink: #17223b;
  --muted: #5d667a;
  --line: #d9d4ca;
  --accent: #2447d8;
  --accent-deep: #1733aa;
  --accent-wash: #e7ebff;
  --shadow: 0 20px 55px rgb(36 71 216 / 12%);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141a2c;
    --surface: #1c2540;
    --ink: #f5f2ea;
    --muted: #bec5d5;
    --line: #3a4560;
    --accent: #8fa3ff;
    --accent-deep: #bdd0ff;
    --accent-wash: #26345f;
    --shadow: 0 20px 55px rgb(0 0 0 / 24%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(16px); }
.nav { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.mark { width: 27px; height: 27px; position: relative; display: inline-block; }
.mark::before, .mark::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 7px; }
.mark::before { background: var(--accent); left: 1px; top: 1px; }
.mark::after { background: #f06a57; right: 1px; bottom: 1px; box-shadow: inset 0 0 0 5px var(--paper); }
.nav-links { display: flex; align-items: center; gap: 27px; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 19px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.button:hover { background: var(--accent-deep); }
.button:active { transform: translateY(1px) scale(.98); }
.button.secondary { background: transparent; color: var(--accent); }
.menu-button { display: none; padding: 8px; border: 0; background: transparent; color: var(--ink); font-size: 23px; }

.hero { min-height: calc(100dvh - 70px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 7vw, 92px); align-items: center; padding: 42px 0 56px; }
.eyebrow { margin: 0 0 17px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 640px; margin-bottom: 22px; font-size: clamp(47px, 6vw, 76px); line-height: .98; letter-spacing: -.07em; }
.hero p { max-width: 470px; margin-bottom: 29px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { min-height: 550px; position: relative; display: grid; grid-template-columns: 1fr .47fr; gap: 15px; align-items: end; }
.hero-media::before { content: ""; position: absolute; inset: 7% 0 6% 12%; z-index: -1; border-radius: var(--radius); background: var(--accent-wash); transform: rotate(3deg); }
.hero-photo { width: 100%; height: 100%; min-height: 540px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-note { padding: 18px; min-height: 248px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.hero-note span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.hero-note strong { display: block; margin: 42px 0 10px; font-size: 27px; line-height: 1.04; letter-spacing: -.055em; }
.hero-note p { margin: 0; font-size: 13px; }

.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 15px 36px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
.trust-list span { opacity: .72; }
.section { padding: 112px 0; }
.section h2 { max-width: 640px; margin-bottom: 18px; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.02; letter-spacing: -.06em; }
.section-intro { max-width: 590px; color: var(--muted); font-size: 17px; }
.path-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 18px; margin-top: 46px; }
.path-main, .path-side { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.path-main { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.path-main img { width: 100%; height: 100%; object-fit: cover; }
.path-copy { padding: clamp(24px, 4vw, 52px); align-self: center; }
.path-copy h3 { margin-bottom: 12px; font-size: 30px; letter-spacing: -.05em; }
.path-copy p, .path-side p { color: var(--muted); }
.path-side { min-height: 480px; position: relative; padding: 34px; display: flex; flex-direction: column; justify-content: end; background: var(--accent-wash); }
.path-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .path-side img { mix-blend-mode: luminosity; opacity: .4; } }
.path-side > * { position: relative; }
.path-side h3 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.05em; }

.workflow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.workflow-aside { position: sticky; top: 108px; }
.workflow-list { display: grid; gap: 14px; }
.workflow-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.workflow-item:first-child { border-top: 1px solid var(--line); }
.workflow-number { color: var(--accent); font-size: 14px; font-weight: 800; }
.workflow-item h3 { margin-bottom: 7px; font-size: 22px; letter-spacing: -.04em; }
.workflow-item p { margin: 0; color: var(--muted); }

.gallery { padding: 112px 0; }
.gallery-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.gallery-title h2 { max-width: 560px; margin: 0; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.02; letter-spacing: -.06em; }
.gallery-title p { max-width: 300px; margin: 0; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 220px 260px; gap: 16px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--accent-wash); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.mosaic figure:hover img { transform: scale(1.04); }

.privacy-band { padding: 90px 0; background: var(--accent-wash); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.privacy-grid h2 { max-width: 490px; margin: 0; font-size: clamp(34px, 4vw, 53px); line-height: 1.02; letter-spacing: -.06em; }
.privacy-points { display: grid; gap: 20px; }
.privacy-points div { padding-left: 18px; border-left: 3px solid var(--accent); }
.privacy-points h3 { margin: 0 0 4px; font-size: 17px; }
.privacy-points p { margin: 0; color: var(--muted); font-size: 15px; }

.closing { padding: 116px 0; text-align: center; }
.closing h2 { max-width: 700px; margin: 0 auto 23px; font-size: clamp(42px, 5vw, 68px); line-height: .98; letter-spacing: -.07em; }
.closing p { max-width: 470px; margin: 0 auto 29px; color: var(--muted); font-size: 17px; }
.store-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .65fr); gap: 28px; }
.footer-grid h3 { margin: 0 0 12px; font-size: 14px; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }
.footer-note { margin-top: 35px; color: var(--muted); font-size: 12px; }

.legal { max-width: 780px; padding: 92px 0 110px; }
.legal h1 { font-size: clamp(42px, 6vw, 67px); }
.legal > p:first-of-type { margin-bottom: 48px; color: var(--muted); font-size: 17px; }
.legal h2 { margin: 43px 0 12px; font-size: 26px; letter-spacing: -.04em; }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.delete-page { padding: 0 0 42px; }
.delete-hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(34px, 7vw, 90px); align-items: start; padding: 82px 0 90px; }
.delete-intro { padding-top: 16px; }
.delete-intro h1 { max-width: 590px; margin-bottom: 24px; font-size: clamp(43px, 5.5vw, 72px); }
.delete-lede { max-width: 500px; margin-bottom: 36px; color: var(--muted); font-size: 18px; }
.delete-timeline { display: grid; gap: 16px; max-width: 430px; }
.delete-timeline div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.delete-timeline strong { font-size: 14px; }
.delete-timeline span { color: var(--muted); font-size: 14px; }
.delete-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 42px); }
.form-section + .form-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-section h2 { margin-bottom: 5px; font-size: 25px; letter-spacing: -.04em; }
.form-help, .input-help, .form-footnote { color: var(--muted); font-size: 13px; }
.form-help { margin-bottom: 18px; }
.check-list { display: grid; gap: 10px; }
.check-option, .confirm-option { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check-option { padding: 14px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease, background .2s ease; }
.check-option:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent-wash) 48%, var(--surface)); }
.check-option input, .confirm-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.check-option span { display: grid; gap: 2px; }
.check-option strong { font-size: 15px; }
.check-option small { color: var(--muted); font-size: 13px; }
.form-fields { display: grid; gap: 8px; }
.form-fields label { font-size: 14px; font-weight: 750; }
.form-fields label span { color: var(--muted); font-weight: 500; }
.form-fields input[type="text"], .form-fields input[type="email"], .form-fields textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; }
.form-fields textarea { resize: vertical; min-height: 106px; }
.form-fields input:focus, .form-fields textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
.input-help { margin: -2px 0 8px; }
.confirm-option { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.delete-submit { width: 100%; margin-top: 26px; }
.form-footnote { margin: 12px 0 0; line-height: 1.45; }
.field-error { margin: 8px 0 0; color: #b33b2e; font-size: 13px; }
.delete-success { display: grid; justify-items: start; gap: 14px; }
.success-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; font-weight: 800; }
.delete-success h2 { margin: 0; font-size: 32px; letter-spacing: -.05em; }
.delete-success p { margin: 0 0 7px; color: var(--muted); }
.delete-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.delete-note h2 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.04em; }
.delete-note p { max-width: 650px; margin: 0; color: var(--muted); }
.delete-note a { color: var(--accent); font-weight: 750; white-space: nowrap; }

@media (max-width: 767px) {
  .wrap { width: min(100% - 32px, 620px); }
  .nav { height: 64px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 16px; right: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.is-open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 37px; padding: 58px 0 56px; }
  h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero p { font-size: 16px; }
  .hero-media { min-height: 440px; grid-template-columns: 1fr .4fr; }
  .hero-photo { min-height: 440px; }
  .hero-note { padding: 14px; min-height: 205px; }
  .hero-note strong { margin-top: 29px; font-size: 21px; }
  .section, .gallery { padding: 76px 0; }
  .path-grid, .workflow, .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .path-main { grid-template-columns: 1fr; min-height: auto; }
  .path-main img { min-height: 350px; }
  .path-side { min-height: 380px; }
  .workflow-aside { position: static; }
  .gallery-title { display: block; }
  .gallery-title p { margin-top: 16px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 205px 205px; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic figure:nth-child(4) { grid-column: auto; }
  .privacy-band, .closing { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .legal { padding: 62px 0 80px; }
  .delete-hero { grid-template-columns: 1fr; gap: 38px; padding: 58px 0 72px; }
  .delete-intro { padding-top: 0; }
  .delete-intro h1 { font-size: clamp(43px, 12vw, 60px); }
  .delete-lede { font-size: 16px; }
  .delete-card { padding: 22px 18px; }
  .delete-note { display: block; padding-top: 24px; }
  .delete-note a { display: inline-block; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
