:root {
  --cream:    #FAF8F3;
  --cream-2:  #F3EDE2;
  --cream-3:  #EBE3D6;
  --white:    #FFFFFF;
  --ink:      #1C1915;
  --ink-2:    #3D372F;
  --muted:    #7A7068;
  --faint:    #B8AFA4;
  --forest:   #1A5C45;
  --forest-2: #14483A;
  --forest-bg:#EEF6F1;
  --forest-bd:rgba(26,92,69,0.2);
  --amber:    #B8711A;
  --amber-bg: #FDF3E7;
  --amber-bd: rgba(184,113,26,0.25);
  --border:   #E0D9CE;
  --border-2: #D0C8BC;
  --shadow:   0 1px 3px rgba(28,25,21,0.06), 0 4px 16px rgba(28,25,21,0.06);
  --shadow-lg:0 8px 40px rgba(28,25,21,0.10);
  --r:        12px;
  --r-sm:     8px;
  --r-lg:     20px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--cream);
  color:var(--ink-2);
  font-family:'Outfit',sans-serif;
  font-size:16px;
  line-height:1.75;
  overflow-x:hidden;
}

/* ── subtle texture ── */
body::before{
  content:'';
  position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8afa4' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;z-index:0;
}

/* ── TYPE ── */
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;font-weight:600;line-height:1.1;letter-spacing:-0.01em;color:var(--ink);}
.label{
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;font-weight:400;
  letter-spacing:0.12em;text-transform:uppercase;
  color:var(--forest);
}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--forest-bg);
  border:1px solid var(--forest-bd);
  border-radius:100px;padding:5px 14px 5px 9px;
  margin-bottom:1.4rem;
}
.chip-dot{width:6px;height:6px;border-radius:50%;background:var(--forest);flex-shrink:0;}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 6%;height:66px;
  background:rgba(250,248,243,0.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.logo-mark svg{width:32px;height:32px;}
.nav-brand{
  font-family:'Cormorant Garamond',serif;
  font-size:20px;font-weight:600;
  color:var(--ink);letter-spacing:0.01em;
}
.nav-brand em{color:var(--forest);font-style:normal;}
.nav-links{display:flex;align-items:center;gap:2rem;list-style:none;}
.nav-links a{
  color:var(--muted);text-decoration:none;
  font-size:14px;font-weight:400;
  transition:color 0.18s;
}
.nav-links a:hover{color:var(--ink);}
.nav-cta{
  background:var(--forest)!important;
  color:#fff!important;
  font-weight:500!important;
  padding:9px 22px!important;
  border-radius:8px!important;
  font-size:13.5px!important;
  transition:background 0.18s!important;
}
.nav-cta:hover{background:var(--forest-2)!important;}

/* ── HERO ── */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:center;
  padding:130px 6% 80px;
  overflow:hidden;
}
.hero-bg-circle{
  position:absolute;border-radius:50%;
  background:radial-gradient(ellipse,rgba(26,92,69,0.07) 0%,transparent 70%);
  pointer-events:none;
}
.hero-inner{position:relative;z-index:1;max-width:1100px;margin:0 auto;width:100%;
  display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr;}}

.hero-text{}
.hero h1{
  font-size:clamp(48px,5.5vw,76px);
  font-weight:600;line-height:1.06;
  margin-bottom:1.4rem;
}
.hero h1 em{color:var(--forest);font-style:italic;}
.hero-sub{
  font-size:18px;color:var(--muted);
  font-weight:300;line-height:1.75;
  max-width:440px;margin-bottom:2.5rem;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:3rem;}
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--forest);color:#fff;
  font-weight:500;font-size:15px;
  padding:13px 26px;border-radius:9px;
  text-decoration:none;border:none;cursor:pointer;
  font-family:'Outfit',sans-serif;
  transition:background 0.18s, transform 0.15s;
}
.btn-primary:hover{background:var(--forest-2);transform:translateY(-1px);}
.btn-ghost{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;color:var(--ink-2);
  font-weight:400;font-size:15px;
  padding:13px 24px;border-radius:9px;
  text-decoration:none;
  border:1.5px solid var(--border-2);
  transition:all 0.18s;
}
.btn-ghost:hover{background:var(--white);border-color:var(--border-2);}

.hero-stats{
  display:flex;gap:2rem;flex-wrap:wrap;
  padding-top:2rem;
  border-top:1px solid var(--border);
}
.hstat-n{
  font-family:'Cormorant Garamond',serif;
  font-size:32px;font-weight:600;
  color:var(--ink);line-height:1;
}
.hstat-n em{color:var(--forest);font-style:normal;}
.hstat-l{font-size:12px;color:var(--muted);margin-top:4px;
  font-family:'IBM Plex Mono',monospace;letter-spacing:0.06em;}

/* ── HERO RIGHT: app card ── */
.hero-visual{position:relative;}
.app-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.app-card-bar{
  background:var(--cream-2);
  border-bottom:1px solid var(--border);
  padding:10px 16px;
  display:flex;align-items:center;gap:8px;
}
.app-dot{width:10px;height:10px;border-radius:50%;}
.ad-r{background:#FF6057;} .ad-y{background:#FFBE2D;} .ad-g{background:#27C93F;}
.app-url{
  flex:1;background:var(--cream);border:1px solid var(--border);
  border-radius:5px;padding:4px 10px;
  font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--muted);
  text-align:center;max-width:280px;margin:0 auto;
}

/* ── STRIP / TICKER ── */
.strip{
  background:var(--forest);padding:12px 6%;
  display:flex;align-items:center;gap:2rem;
  overflow:hidden;position:relative;z-index:1;
}
.strip-item{
  display:flex;align-items:center;gap:8px;white-space:nowrap;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;color:rgba(255,255,255,0.75);
}
.strip-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.4);flex-shrink:0;}
.strip-item strong{color:#fff;font-weight:500;}

/* ── SECTIONS ── */
section{position:relative;z-index:1;padding:100px 6%;}
.section-inner{max-width:1100px;margin:0 auto;}
.s-alt{background:var(--cream-2);}
.s-white{background:var(--white);}

.s-head{max-width:580px;margin-bottom:3.5rem;}
.s-head h2{font-size:clamp(32px,3.5vw,52px);margin-bottom:0.8rem;}
.s-head p{font-size:17px;color:var(--muted);font-weight:300;}
.s-center{text-align:center;margin:0 auto 3.5rem;}

/* ── FEATURES ── */
.feat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
@media(max-width:860px){.feat-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:540px){.feat-grid{grid-template-columns:1fr;}}

.feat-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:2rem;
  transition:box-shadow 0.2s,transform 0.2s;
}
.feat-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);}
.feat-icon{
  width:46px;height:46px;border-radius:10px;
  background:var(--forest-bg);
  border:1px solid var(--forest-bd);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;
}
.feat-icon svg{width:22px;height:22px;stroke:var(--forest);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.feat-card h3{
  font-family:'Cormorant Garamond',serif;
  font-size:20px;font-weight:600;
  margin-bottom:0.5rem;color:var(--ink);
}
.feat-card p{font-size:14px;color:var(--muted);font-weight:300;line-height:1.65;}

/* ── REGIONS ── */
.reg-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:10px;
}
.reg-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:18px 16px;
  transition:all 0.18s;cursor:default;
}
.reg-card:hover{
  border-color:var(--forest-bd);
  background:var(--forest-bg);
  transform:translateY(-2px);
  box-shadow:0 4px 16px rgba(26,92,69,0.08);
}
.reg-flag{font-size:24px;display:block;margin-bottom:7px;}
.reg-name{font-size:13px;font-weight:500;color:var(--ink);margin-bottom:2px;}
.reg-auth{font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--forest);}

/* ── eCTD V4 ── */
.v4-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:5rem;align-items:center;
  max-width:1100px;margin:0 auto;
}
@media(max-width:800px){.v4-grid{grid-template-columns:1fr;}}
.v4-text h2{font-size:clamp(32px,3.5vw,52px);margin-bottom:1rem;}
.v4-text p{font-size:17px;color:var(--muted);font-weight:300;line-height:1.75;margin-bottom:1.25rem;}
.v4-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--amber-bg);border:1px solid var(--amber-bd);
  border-radius:6px;padding:10px 16px;
  font-size:14px;font-weight:500;color:var(--amber);
  margin-bottom:1.75rem;
}
.v4-visual{display:flex;align-items:center;justify-content:center;}

/* ── EDITIONS ── */
.ed-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:1.5rem;max-width:860px;margin:0 auto;
}
@media(max-width:600px){.ed-grid{grid-template-columns:1fr;}}
.ed-card{
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  padding:2.5rem;
  position:relative;overflow:hidden;
}
.ed-card::after{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
}
.ed-lite::after{background:var(--border-2);}
.ed-full{border-color:var(--forest-bd);}
.ed-full::after{background:var(--forest);}

.ed-tag{
  display:inline-block;padding:3px 11px;
  border-radius:100px;font-size:11px;
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:0.07em;margin-bottom:1.5rem;
}
.et-free{background:var(--cream-2);color:var(--muted);}
.et-paid{background:var(--forest-bg);color:var(--forest);border:1px solid var(--forest-bd);}
.ed-card h3{font-size:26px;margin-bottom:0.4rem;}
.ed-price{
  font-family:'Cormorant Garamond',serif;
  font-size:40px;font-weight:600;
  color:var(--ink);margin-bottom:0.2rem;line-height:1;
}
.ed-price span{font-size:16px;color:var(--muted);font-family:'Outfit',sans-serif;font-weight:300;}
.ed-sub{font-size:14px;color:var(--muted);font-weight:300;margin-bottom:1.75rem;}
.f-list{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:2rem;}
.f-list li{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:var(--muted);line-height:1.5;}
.ck{
  width:18px;height:18px;border-radius:50%;flex-shrink:0;margin-top:1px;
  display:flex;align-items:center;justify-content:center;
}
.ck-y{background:var(--forest-bg);}
.ck-y svg{stroke:var(--forest);}
.ck-n{background:var(--cream-2);}
.ck-n svg{stroke:var(--faint);}
.ck svg{width:10px;height:10px;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

/* ── CONTACT ── */
.contact-wrap{max-width:700px;margin:0 auto;text-align:center;}
.contact-card{
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  padding:3.5rem;
  box-shadow:var(--shadow);
}
.contact-card h2{font-size:clamp(26px,3vw,42px);margin-bottom:0.75rem;}
.contact-card > p{font-size:16px;color:var(--muted);font-weight:300;margin-bottom:2rem;}
.contact-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:2rem;}
.cpill{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 18px;
  background:var(--cream);border:1px solid var(--border);
  border-radius:100px;font-size:14px;color:var(--muted);
  text-decoration:none;transition:all 0.18s;
}
.cpill:hover{border-color:var(--forest-bd);color:var(--forest);background:var(--forest-bg);}
.cpill svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.addr{font-size:12px;color:var(--faint);font-family:'IBM Plex Mono',monospace;line-height:1.7;}

/* ── FOOTER ── */
footer{
  padding:2rem 6%;
  border-top:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;
  background:var(--cream-2);
  position:relative;z-index:1;
}
.f-brand{
  font-family:'Cormorant Garamond',serif;
  font-size:17px;font-weight:600;color:var(--ink);
}
.f-brand em{color:var(--forest);font-style:normal;}
.f-copy{font-size:13px;color:var(--faint);}
.f-co{font-size:12px;color:var(--faint);font-family:'IBM Plex Mono',monospace;text-align:right;}

/* ── DIVIDER ── */
hr{border:none;border-top:1px solid var(--border);margin:0;}

/* ── REVEAL ── */
.reveal{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* ── MOBILE ── */
@media(max-width:768px){
  nav{padding:0 4%;}
  .nav-links{display:none;}
  .hero{padding:100px 4% 60px;}
  section{padding:70px 4%;}
  .contact-card{padding:2rem 1.5rem;}
  .strip{gap:1.5rem;overflow-x:auto;}
  footer{flex-direction:column;} .f-co{text-align:left;}
}

/* ── LANGUAGE SWITCHER ── */
.nav-right{display:flex;align-items:center;gap:1.25rem;}
.nav-links{gap:1.6rem;}
.lang-switch{display:flex;align-items:center;gap:2px;font-family:'IBM Plex Mono',monospace;font-size:11.5px;}
.lang-switch a{color:var(--muted);text-decoration:none;padding:4px 7px;border-radius:6px;border:1px solid transparent;transition:all 0.18s;}
.lang-switch a:hover{color:var(--forest);background:var(--forest-bg);}
.lang-switch a.on{color:var(--forest);background:var(--forest-bg);border-color:var(--forest-bd);}
@media(max-width:1240px){.nav-links li:not(:last-child){display:none;}}
@media(max-width:768px){.nav-right{gap:0;} .lang-switch{font-size:10.5px;} .lang-switch a{padding:3px 4px;}}

/* ── LANGUAGE FONTS ── */
html:lang(bg) body,html:lang(bg) .btn-primary,html:lang(bg) .ed-price span{font-family:'Outfit','Noto Sans',sans-serif;}
html:lang(ja) body,html:lang(ja) .btn-primary,html:lang(ja) .ed-price span{font-family:'Outfit','Noto Sans JP',sans-serif;}
html:lang(ja) h1,html:lang(ja) h2,html:lang(ja) h3,html:lang(ja) h4{font-family:'Cormorant Garamond','Noto Serif JP',serif;line-height:1.3;}
html:lang(ko) body,html:lang(ko) .btn-primary,html:lang(ko) .ed-price span{font-family:'Outfit','Noto Sans KR',sans-serif;}
html:lang(ko) h1,html:lang(ko) h2,html:lang(ko) h3,html:lang(ko) h4{font-family:'Cormorant Garamond','Noto Serif KR',serif;line-height:1.3;}
html:lang(ko) body{word-break:keep-all;}
