@font-face {
  font-family: Pretendard;
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #16233f;
  --coral: #ff5f3e;
  --action: #c7442b;
  --action-hover: #a9361f;
  --gold: #ffb627;
  --teal: #1f9e93;
  --dark-teal: #0d756d;
  --canvas: #fff8f2;
  --border: #e8e1d6;
  --muted: #6b6259;
  --white: #fff;
  --shadow: 0 12px 28px rgba(22, 35, 63, 0.09);
  --radius: 22px;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    400 16px/1.65 Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--action);
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  left: 12px;
}
.site-header {
  background: rgba(255, 248, 242, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.nav {
  max-width: var(--max);
  margin: auto;
  min-height: 68px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  display: block;
  width: 145px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.92rem;
}
.nav-links a {
  text-decoration: none;
}
.nav-links .nav-cta {
  background: var(--action);
  color: #fff;
  padding: 8px 13px;
  border-radius: 999px;
}
.nav-links .nav-cta:hover {
  background: var(--action-hover);
  color: #fff;
}
.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 20px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 60px;
  min-height: 640px;
  background:
    linear-gradient(
      90deg,
      #fff8f2 0%,
      rgba(255, 248, 242, 0.96) 18%,
      rgba(255, 244, 237, 0.42) 42%,
      rgba(255, 240, 231, 0.08) 60%,
      rgba(255, 240, 231, 0) 76%
    ),
    #fff0e7;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 508px;
}
.hero-copy,
.remi-copy {
  min-width: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  padding: 38px 0 48px;
}
.hero-art {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: -1;
  top: -72px;
  right: min(128px, calc((var(--max) - 100vw) / 2 + 128px));
  bottom: -60px;
  width: min(64vw, 820px);
  min-width: 0;
  pointer-events: none;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 901px) {
  .hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(255, 240, 231, 0.48) 0%,
      rgba(255, 240, 231, 0.25) 12%,
      rgba(255, 240, 231, 0.06) 25%,
      rgba(255, 240, 231, 0) 36%,
      rgba(255, 240, 231, 0) 94%,
      #fff0e7 100%
    );
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-teal);
  font-size: 0.91rem;
  font-weight: 700;
}
.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 1.13;
  letter-spacing: -0.055em;
  max-width: 800px;
  margin: 16px 0 24px;
}
.hero h1 {
  max-width: none;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  white-space: nowrap;
}
h2 {
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.22rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  max-width: 690px;
  color: #39455d;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  text-decoration: none;
  font: 700 1rem inherit;
  cursor: pointer;
}
.button:hover {
  background: var(--action-hover);
  color: white;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--border);
}
.button.secondary:hover {
  border-color: var(--action);
  color: var(--action);
}
.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin: 5px 0;
}
.tagline:last-child {
  color: var(--action);
}
section {
  padding: 64px 0;
}
.section-intro {
  max-width: 730px;
}
.beta-audience {
  max-width: none;
  white-space: nowrap;
}
.travel-card-description span {
  display: block;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff0e7;
  color: var(--action);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.service-heading{display:flex;align-items:center;gap:15px;margin-bottom:18px}.service-heading .service-icon{margin:0;flex:0 0 auto}.service-heading h3{font-size:clamp(1.45rem,2.5vw,1.8rem);margin:0}.deadline{color:var(--action);margin-top:16px}.hero-lead span{display:block}.remi-core{max-width:none}.remi-bottom{margin:28px 0 0;max-width:920px}.remiband .step img{width:100%;max-width:220px;height:128px;object-fit:contain;margin:0 0 18px}.field-help{font-size:.9rem;color:var(--muted);margin:6px 0 0}
.card.travel .service-icon {
  background: #e3f5f1;
  color: var(--dark-teal);
}
.card p,
.content p,
.content li {
  color: #4e4a46;
}
.card .text-link {
  font-weight: 700;
  color: var(--action);
}
.remiband {
  background: var(--ink);
  color: #fff;
}
.remiband p {
  color: #eef1f5;
}
.remiband .eyebrow {
  color: #b4e5df;
}
.remiband .eyebrow:before {
  background: var(--gold);
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.step strong {
  display: block;
  color: var(--action);
  margin-bottom: 8px;
}
.page-hero {
  padding: 64px 0 44px;
  background: #fff0e7;
}
.page-hero.travel {
  background: #e7f5f2;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 800px;
}
.notice {
  padding: 18px 20px;
  background: #fff7db;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  margin: 24px 0;
}
.notice strong {
  display: block;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 42px;
  align-items: start;
}
.content section {
  padding: 0 0 48px;
}
.content ul {
  padding-left: 22px;
}
.content li + li {
  margin-top: 8px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  position: sticky;
  top: 92px;
}
.form-card h2 {
  font-size: 1.6rem;
}
.field {
  margin: 0 0 17px;
}
.field label,
.field legend {
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8c0b6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.button:focus,
a:focus {
  outline: 3px solid rgba(31, 158, 147, 0.5);
  outline-offset: 3px;
}
.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 17px;
}
.options {
  display: grid;
  gap: 8px;
}
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #4e4a46;
}
.check input {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: var(--action);
}
.form-note {
  font-size: 0.91rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.form-status {
  display: none;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: #e8f5f2;
  color: #124f4b;
  font-weight: 650;
}
.form-status.show {
  display: block;
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  padding: 17px 28px 17px 0;
  font-weight: 700;
  position: relative;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--action);
  font-size: 1.35rem;
}
.faq details[open] summary:after {
  content: "−";
}
.faq p {
  color: #4e4a46;
}
.policy {
  max-width: 760px;
  margin: auto;
  padding: 72px 20px;
  min-height: 64vh;
}
.policy-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.site-footer {
  background: var(--ink);
  color: #f8fafc;
  padding: 42px 0;
  margin-top: 30px;
}
.footer-inner {
  max-width: var(--max);
  padding: 0 20px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner img {
  width: 130px;
  filter: brightness(0) invert(1);
}
.footer-inner p,
.footer-inner a {
  color: #cdd5df;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-content: start;
}
@media (max-width: 760px) {
  .nav {
    padding: 11px 18px;
  }
  .nav-links {
    gap: 12px;
    font-size: 0.84rem;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero {
    padding: 52px 0 45px;
    min-height: 0;
    background: linear-gradient(180deg, #fff8f2 0%, #fff0e7 100%);
  }
  .hero-layout {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .remi-intro {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    width: 100%;
    padding: 0;
  }
  .hero h1 {
    white-space: normal;
  }
  .hero-art {
    position: relative;
    z-index: 0;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 40px);
    height: 330px;
    margin: 18px -20px -45px;
    justify-items: center;
  }
  .hero-art img {
    width: 100%;
    height: 100%;
  }
  .beta-audience {
    white-space: normal;
  }
  .remi-art {
    justify-items: center;
  }
  section {
    padding: 48px 0;
  }
  .cards,
  .three,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    position: static;
  }
  .page-hero {
    padding: 45px 0 30px;
  }
  .card {
    padding: 23px;
  }
  .footer-inner {
    display: block;
  }
  .footer-links {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Tablet detail pages stack before the form becomes taller than the viewport. */
@media (min-width: 761px) and (max-width: 900px) {
  /* Keep the layered hero inside the tablet content box. The desktop art
     offset is intentionally reserved for the wide layout. */
  .hero {
    overflow: clip;
  }
  .hero-copy {
    width: 52%;
  }
  .hero h1 {
    white-space: normal;
  }
  .beta-audience {
    white-space: normal;
  }
  .hero-art {
    top: -24px;
    right: 0;
    bottom: -24px;
    width: 48%;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-card {
    position: static;
  }
}

/* V1 beta review refinements */
:root {
  --header-offset: 92px;
}
h1 {
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  line-height: 1.16;
  word-break: keep-all;
  overflow-wrap: normal;
}
h1 span {
  display: block;
}
h2,
h3,
.lead {
  word-break: keep-all;
  overflow-wrap: normal;
}
#services,
#remi {
  scroll-margin-top: var(--header-offset);
}
.remiband .three {
  margin-top: 30px;
}
.remiband .step {
  min-height: 0;
  padding: 14px 20px 16px;
  display: grid;
  grid-template-rows: 80px auto auto;
  justify-items: center;
  align-items: start;
  text-align: center;
}
.remiband .step strong {
  font-size: 1.28rem;
  line-height: 1.35;
}
.remiband .step span {
  font-size: 1rem;
  line-height: 1.6;
  color: #263653;
  word-break: keep-all;
  overflow-wrap: normal;
}
.remiband .step img {
  height: 76px;
  margin: 0;
}
.remi-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  align-items: center;
  gap: 40px;
}
.remi-art {
  position: relative;
  display: grid;
  justify-items: end;
  min-width: 0;
}
.remi-art::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(126%, 365px);
  height: min(122%, 365px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 248, 232, 0.98) 0%,
    rgba(255, 248, 232, 0.9) 46%,
    rgba(255, 248, 232, 0.56) 65%,
    rgba(255, 248, 232, 0) 84%
  );
  filter: blur(8px);
  transform: translateY(-50%);
}
.remi-art img {
  display: block;
  width: min(100%, 285px);
  max-height: 330px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 14px rgba(7, 18, 42, 0.16));
}
.remiband .three {
  align-items: stretch;
}
.remiband .step {
  height: 100%;
}
.policy h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.policy-box h2 {
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  margin: 0 0 10px;
}
.policy-box h2:not(:first-child) {
  margin-top: 36px;
}
.policy-box > p {
  margin-bottom: 0;
}
.eligibility-notice {
  display: none;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff0e7;
  color: #8c2f1e;
  font-weight: 650;
}
.eligibility-notice.show {
  display: block;
}
.button:disabled {
  background: #b7b0a7;
  color: #fff;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  :root {
    --header-offset: 82px;
  }
  .remiband .step {
    min-height: 0;
  }
  .travel-card-description span {
    display: inline;
  }
  .travel-card-description span:not(:last-child)::after {
    content: " ";
  }
  .nav-links a {
    display: inline !important;
  }
  .nav{align-items:flex-start;flex-wrap:wrap;gap:6px}.logo{width:100%}.nav-links{width:100%;justify-content:flex-start}.hero-lead span{display:inline}.service-heading{gap:12px}.card p br{display:none}
  /* The final desktop refinement above must not restore a narrow text column
     on the compact REMI introduction. */
  .remi-intro {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }
  .remi-copy,
  .remi-art {
    width: 100%;
    min-width: 0;
  }
  .remi-art {
    justify-items: center;
  }
  .remi-art::before {
    right: calc(-8% + 8px);
  }
}
